var a = {
    name: 'A',
    fn: function () {
        console.log(this.name)
    }
}
a.fn()  //this===A
a.fn.call({name: "B"}) //this ==={name: 'B'}
var fn1 = a.fn

fn1()   //this===window